FREE WHEELIN V1.1 for trueSpace 4.x
@2000 John Laster (jl317933@yahoo.com)
http://www.geocities.com/jl317933/ts4/

Updates:
1.1 You no longer have to name the parent object of the wheel(s)/axle "vehicle". Version 1.1 now automatically finds the parent object of the wheel to be simulated.

Description:
This script was written for the purpose of wheel/tire animating of cars, trucks and forms of land transportation.  Based on angular velocity and linear direction of motion, you can easily animate the wheels on your vehicle models in the forward and backward motions.  Rotation is based on the z-axis, so be sure that you wheels/axle axis is set up where the z axis vector is pointing along the hub of the wheel.

This is a GUI script. You need to have the GUI modules loaded before you run this script.

How to use this script:
There is some scene setup required before running this script.
1.  The script should be loaded under "Scene" in the script manager.
2.  Select the wheel/axle  which you want to simulate. 
3.  Run the script and enter in the total number of frames to simulate and the framerate.
4.  Press "Spinout!" and watch your wheel(s) roll with the motion.

FAQ:
Q: The simulated wheel spins in the wrong direction.
A: Check your wheel model axis. Rotate the axis 180 degrees along the x or y axis.

Q: The wheel rotates off the vehicle when the vehicle make a turn or follows a curved path.
A: Right now V1.1 will only handle models moving in a linear motion. Planning on future releases to handle curved paths as well as simulating wheels "turning" into corners based on animation paths.